package com.diudiu.diudiu.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import lombok.*;
import com.baomidou.mybatisplus.annotation.TableName;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PostUserFavor implements Serializable {
    //主键
    private Integer id;
    //帖子的id,外联post表的id
    private Integer postId;
    //用户的id,外联post表的id
    private Integer userId;
    //是否点赞,默认为"否"
    private String favor;

}

